namespace DotNetNuke.Entities.Users
{
    using System;

    public class UserMembership
    {
        private bool _Approved;
        private DateTime _CreatedDate;
        private string _Email;
        private DateTime _LastLockoutDate;
        private DateTime _LastLoginDate;
        private bool _LockedOut;
        private bool _ObjectHydrated;
        private string _Password;
        private string _Username;

        public bool Approved
        {
            get
            {
                return this._Approved;
            }
            set
            {
                this._Approved = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public DateTime CreatedDate
        {
            get
            {
                return this._CreatedDate;
            }
            set
            {
                this._CreatedDate = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public string Email
        {
            get
            {
                return this._Email;
            }
            set
            {
                this._Email = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public DateTime LastLockoutDate
        {
            get
            {
                return this._LastLockoutDate;
            }
            set
            {
                this._LastLockoutDate = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public DateTime LastLoginDate
        {
            get
            {
                return this._LastLoginDate;
            }
            set
            {
                this._LastLoginDate = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public bool LockedOut
        {
            get
            {
                return this._LockedOut;
            }
            set
            {
                this._LockedOut = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public bool ObjectHydrated
        {
            get
            {
                return this._ObjectHydrated;
            }
            set
            {
                this._ObjectHydrated = value;
                if (!this.ObjectHydrated)
                {
                    this._ObjectHydrated = true;
                }
            }
        }

        public string Password
        {
            get
            {
                return this._Password;
            }
            set
            {
                this._Password = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }

        public string Username
        {
            get
            {
                return this._Username;
            }
            set
            {
                this._Username = value;
                if (!this.ObjectHydrated)
                {
                    this.ObjectHydrated = true;
                }
            }
        }
    }
}

